<template>
    <div id="pageTest" transition="loading">
        <p>当前路径：{{$route.path}}</p>
        <p>路由参数：{{$route.params | json}}</p>
        <p>GET参数"id"：{{$route.query.id}}</p>
        <p>数据msg：{{msg}}</p>
        <a v-link="'/'">跳转到:/</a>
    </div>
</template>

<style>
    #pageTest {
        color: #FFF;
        background: #06C;
    }
</style>

<!--定义js部份-->
<script>
    export default{
        data(){
            return {
                msg: '数据'
            }
        },
        components: {
        }
    }
</script>